
module "uat-traefik-ingress-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "uat-traefik-ingress-lb"
  type  = "A"
  ttl = 3600
  value = "10.3.8.100"
}

module "dev-uat-traefik-for-large-file" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "dev-uat-traefik-for-large-file"
  type  = "A"
  ttl = 3600
  value = "10.9.9.118"
}

module "uat-dr-safe-app" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  remark = "kubeedge-安全员app"
  rr    = "uat-dr-safe-app"
  type  = "CNAME"
  ttl   = 60
  value = "uat-traefik-ingress-lb.deeproute.cn"
}

module "cnames-to-uat-traefik-ingress-lb" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "uat-traefik-ingress-lb.deeproute.cn"
  ttl   = 3600

  rrs = [
    "uat-annotation-platform-frontend",
    "uat-apm-server",
    "uat-elasticsearch",
    "uat-kafka-ui",
    "uat-kibana",
    "uat-nacos",
    "uat-operation-admin",
    "uat-skywalking",
    "uat-webvis",
  ]
}

module "cnames-to-dev-uat-traefik-for-large-file" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "dev-uat-traefik-for-large-file.deeproute.cn"
  ttl   = 3600

  rrs = [
    "dev-demo",
  ]
}

# TODO: dev-ops-heketi-test 3600 CNAME  dev-ops-heketi.deeproute.cn.

module "uat-kafka" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "uat-kafka"
  type  = "A"
  ttl   = 3600
  value = "10.3.8.110"
}

module "uat-traefk-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "uat-traefk-lb"
  type  = "A"
  ttl   = 3600
  value = "10.9.9.22"
}

module "uat-traefik-ingress-large-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "uat-traefik-ingress-large-lb"
  type  = "A"
  ttl   = 3600
  value = "10.3.8.101"
}

module "cnames-to-uat-traefik-ingress-large-lb" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "uat-traefik-ingress-large-lb.deeproute.cn"
  ttl   = 3600

  rrs = [
    "uat-dr-platform-admin",
    "uat-simulation",
    "uat-vehicle-management",
  ]
}
